/*
 * @(#)UserEntity.java
 *
 * Copyright 2012 by ShenY BIS, All rights reserved.
 */


package com.bis.framework.entity;

import java.util.Date;
import java.util.List;

import com.bis.framework.annotation.TableAnnotation;
import com.bis.framework.base.entity.BaseEntity;


/**
 * UserEntity
 * 
 * @author BIS 2012-12-24
 */
@TableAnnotation(table = "USERS")
public class UserEntity extends BaseEntity
{
    /**
     * Version Id
     */
	private static final long	serialVersionUID	= 3190707297291398220L;
	/**
	 * Id
	 */
	@TableAnnotation
	private String				id;
	/**
	 * Org_id
	 */
	@TableAnnotation
	private String				org_id;
	/**
	 * User Name
	 */
	@TableAnnotation(isCode = true)
	private String				username;
	/**
	 * Action Flag
	 */
	@TableAnnotation
	private Integer				is_active			= null;
	/**
	 * Pass Word
	 */
	@TableAnnotation
	private String				password;
	/**
	 * Phone
	 */
	@TableAnnotation
	private String				phone;
	/**
	 * Sub Phone
	 */
	@TableAnnotation
	private String				sub_phone;
	/**
	 * Index Code
	 */
	@TableAnnotation
	private Long				index_code;
	/**
	 * MOBILE
	 */
	@TableAnnotation
	private String				mobile;
	/**
	 * Email
	 */
	@TableAnnotation
	private String				email;
	/**
	 * Name
	 */
	@TableAnnotation
	private String				name;
	/**
	 * Role Id
	 */
	@TableAnnotation
	private String				role_id;
	/**
	 * Duty
	 */
	@TableAnnotation
	private String				duty;
	/**
	 * Address
	 */
	@TableAnnotation
	private String				address;
	/**
	 * ZIP
	 */
	@TableAnnotation
	private String				zip;
	/**
	 * Modify Time
	 */
	@TableAnnotation
	private Date				last_modify_time;
	/**
	 * Delete Flag
	 */
	@TableAnnotation
	private Integer				is_delete			= null;
	/**
	 * Login Time
	 */
	private String				loginTime;
	/**
	 * ORG Level
	 */
	private String				org_level;
	/**
	 * Company Id
	 */
	private String				companyId;
	/**
	 * Company Name
	 */
	private String				companyName;
	/**
	 * Role List
	 */
	private List				lstRole				= null;
	/**
	 * User Role List
	 */
	private List				lstDenyRole			= null;
	/**
	 * New Allow List
	 */
	private List<String>		newAllowList;
	/**
	 * Group Id
	 */
	private String				contact_group_id;
	/**
	 * User Status
	 */
	private String				status;
	/**
	 * User A Status
	 */
	private String				statusA;
	/**
	 * Parent Id
	 */
	private String				parentid;
	/**
	 * PER List
	 */
	private String				popedombtn;
	/**
	 * Parent Menu
	 */
	private String				parentMenu;
	/**
	 * Menu Id
	 */
	private String				menuID;

	/**
	 * Code
	 */
	private String				code;
	/**
	 * User Name
	 */
	private String				editUsername;
	/**
	 * Login Flag
	 */
	private String				loginflag;
	/**
	 * Invalidation Date
	 */
	private String				invalidationDate;
	/**
	 * CERT_CN
	 */
	@TableAnnotation
	private String				koal_cert_cn;
	/**
	 * CERT_E
	 */
	@TableAnnotation
	private String				koal_cert_e;
	/**
	 * CERT_O
	 */
	@TableAnnotation
	private String				koal_cert_o;
	/**
	 * Date Time
	 */
	private String				stringdatetime;
    /**
     * @return the id
     */
    public String getId()
    {
        return id;
    }
    /**
     * @param id the id to set
     */
    public void setId(String id)
    {
        this.id = id;
    }
    /**
     * @return the org_id
     */
    public String getOrg_id()
    {
        return org_id;
    }
    /**
     * @param org_id the org_id to set
     */
    public void setOrg_id(String org_id)
    {
        this.org_id = org_id;
    }
    /**
     * @return the username
     */
    public String getUsername()
    {
        return username;
    }
    /**
     * @param username the username to set
     */
    public void setUsername(String username)
    {
        this.username = username;
    }
    /**
     * @return the is_active
     */
    public Integer getIs_active()
    {
        return is_active;
    }
    /**
     * @param is_active the is_active to set
     */
    public void setIs_active(Integer is_active)
    {
        this.is_active = is_active;
    }
    /**
     * @return the password
     */
    public String getPassword()
    {
        return password;
    }
    /**
     * @param password the password to set
     */
    public void setPassword(String password)
    {
        this.password = password;
    }
    /**
     * @return the phone
     */
    public String getPhone()
    {
        return phone;
    }
    /**
     * @param phone the phone to set
     */
    public void setPhone(String phone)
    {
        this.phone = phone;
    }
    /**
     * @return the sub_phone
     */
    public String getSub_phone()
    {
        return sub_phone;
    }
    /**
     * @param sub_phone the sub_phone to set
     */
    public void setSub_phone(String sub_phone)
    {
        this.sub_phone = sub_phone;
    }
    /**
     * @return the index_code
     */
    public Long getIndex_code()
    {
        return index_code;
    }
    /**
     * @param index_code the index_code to set
     */
    public void setIndex_code(Long index_code)
    {
        this.index_code = index_code;
    }
    /**
     * @return the mobile
     */
    public String getMobile()
    {
        return mobile;
    }
    /**
     * @param mobile the mobile to set
     */
    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }
    /**
     * @return the email
     */
    public String getEmail()
    {
        return email;
    }
    /**
     * @param email the email to set
     */
    public void setEmail(String email)
    {
        this.email = email;
    }
    /**
     * @return the name
     */
    public String getName()
    {
        return name;
    }
    /**
     * @param name the name to set
     */
    public void setName(String name)
    {
        this.name = name;
    }
    /**
     * @return the role_id
     */
    public String getRole_id()
    {
        return role_id;
    }
    /**
     * @param role_id the role_id to set
     */
    public void setRole_id(String role_id)
    {
        this.role_id = role_id;
    }
    /**
     * @return the duty
     */
    public String getDuty()
    {
        return duty;
    }
    /**
     * @param duty the duty to set
     */
    public void setDuty(String duty)
    {
        this.duty = duty;
    }
    /**
     * @return the address
     */
    public String getAddress()
    {
        return address;
    }
    /**
     * @param address the address to set
     */
    public void setAddress(String address)
    {
        this.address = address;
    }
    /**
     * @return the zip
     */
    public String getZip()
    {
        return zip;
    }
    /**
     * @param zip the zip to set
     */
    public void setZip(String zip)
    {
        this.zip = zip;
    }
    /**
     * @return the last_modify_time
     */
    public Date getLast_modify_time()
    {
        return last_modify_time;
    }
    /**
     * @param last_modify_time the last_modify_time to set
     */
    public void setLast_modify_time(Date last_modify_time)
    {
        this.last_modify_time = last_modify_time;
    }
    /**
     * @return the is_delete
     */
    public Integer getIs_delete()
    {
        return is_delete;
    }
    /**
     * @param is_delete the is_delete to set
     */
    public void setIs_delete(Integer is_delete)
    {
        this.is_delete = is_delete;
    }
    /**
     * @return the loginTime
     */
    public String getLoginTime()
    {
        return loginTime;
    }
    /**
     * @param loginTime the loginTime to set
     */
    public void setLoginTime(String loginTime)
    {
        this.loginTime = loginTime;
    }
    /**
     * @return the org_level
     */
    public String getOrg_level()
    {
        return org_level;
    }
    /**
     * @param org_level the org_level to set
     */
    public void setOrg_level(String org_level)
    {
        this.org_level = org_level;
    }
    /**
     * @return the companyId
     */
    public String getCompanyId()
    {
        return companyId;
    }
    /**
     * @param companyId the companyId to set
     */
    public void setCompanyId(String companyId)
    {
        this.companyId = companyId;
    }
    /**
     * @return the companyName
     */
    public String getCompanyName()
    {
        return companyName;
    }
    /**
     * @param companyName the companyName to set
     */
    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }
    /**
     * @return the lstRole
     */
    public List getLstRole()
    {
        return lstRole;
    }
    /**
     * @param lstRole the lstRole to set
     */
    public void setLstRole(List lstRole)
    {
        this.lstRole = lstRole;
    }
    /**
     * @return the lstDenyRole
     */
    public List getLstDenyRole()
    {
        return lstDenyRole;
    }
    /**
     * @param lstDenyRole the lstDenyRole to set
     */
    public void setLstDenyRole(List lstDenyRole)
    {
        this.lstDenyRole = lstDenyRole;
    }
    /**
     * @return the newAllowList
     */
    public List<String> getNewAllowList()
    {
        return newAllowList;
    }
    /**
     * @param newAllowList the newAllowList to set
     */
    public void setNewAllowList(List<String> newAllowList)
    {
        this.newAllowList = newAllowList;
    }
    /**
     * @return the contact_group_id
     */
    public String getContact_group_id()
    {
        return contact_group_id;
    }
    /**
     * @param contact_group_id the contact_group_id to set
     */
    public void setContact_group_id(String contact_group_id)
    {
        this.contact_group_id = contact_group_id;
    }
    /**
     * @return the status
     */
    public String getStatus()
    {
        return status;
    }
    /**
     * @param status the status to set
     */
    public void setStatus(String status)
    {
        this.status = status;
    }
    /**
     * @return the statusA
     */
    public String getStatusA()
    {
        return statusA;
    }
    /**
     * @param statusA the statusA to set
     */
    public void setStatusA(String statusA)
    {
        this.statusA = statusA;
    }
    /**
     * @return the parentid
     */
    public String getParentid()
    {
        return parentid;
    }
    /**
     * @param parentid the parentid to set
     */
    public void setParentid(String parentid)
    {
        this.parentid = parentid;
    }
    /**
     * @return the popedombtn
     */
    public String getPopedombtn()
    {
        return popedombtn;
    }
    /**
     * @param popedombtn the popedombtn to set
     */
    public void setPopedombtn(String popedombtn)
    {
        this.popedombtn = popedombtn;
    }
    /**
     * @return the parentMenu
     */
    public String getParentMenu()
    {
        return parentMenu;
    }
    /**
     * @param parentMenu the parentMenu to set
     */
    public void setParentMenu(String parentMenu)
    {
        this.parentMenu = parentMenu;
    }
    /**
     * @return the menuID
     */
    public String getMenuID()
    {
        return menuID;
    }
    /**
     * @param menuID the menuID to set
     */
    public void setMenuID(String menuID)
    {
        this.menuID = menuID;
    }
    /**
     * @return the code
     */
    public String getCode()
    {
        return code;
    }
    /**
     * @param code the code to set
     */
    public void setCode(String code)
    {
        this.code = code;
    }
    /**
     * @return the editUsername
     */
    public String getEditUsername()
    {
        return editUsername;
    }
    /**
     * @param editUsername the editUsername to set
     */
    public void setEditUsername(String editUsername)
    {
        this.editUsername = editUsername;
    }
    /**
     * @return the loginflag
     */
    public String getLoginflag()
    {
        return loginflag;
    }
    /**
     * @param loginflag the loginflag to set
     */
    public void setLoginflag(String loginflag)
    {
        this.loginflag = loginflag;
    }
    /**
     * @return the invalidationDate
     */
    public String getInvalidationDate()
    {
        return invalidationDate;
    }
    /**
     * @param invalidationDate the invalidationDate to set
     */
    public void setInvalidationDate(String invalidationDate)
    {
        this.invalidationDate = invalidationDate;
    }
    /**
     * @return the koal_cert_cn
     */
    public String getKoal_cert_cn()
    {
        return koal_cert_cn;
    }
    /**
     * @param koal_cert_cn the koal_cert_cn to set
     */
    public void setKoal_cert_cn(String koal_cert_cn)
    {
        this.koal_cert_cn = koal_cert_cn;
    }
    /**
     * @return the koal_cert_e
     */
    public String getKoal_cert_e()
    {
        return koal_cert_e;
    }
    /**
     * @param koal_cert_e the koal_cert_e to set
     */
    public void setKoal_cert_e(String koal_cert_e)
    {
        this.koal_cert_e = koal_cert_e;
    }
    /**
     * @return the koal_cert_o
     */
    public String getKoal_cert_o()
    {
        return koal_cert_o;
    }
    /**
     * @param koal_cert_o the koal_cert_o to set
     */
    public void setKoal_cert_o(String koal_cert_o)
    {
        this.koal_cert_o = koal_cert_o;
    }
    /**
     * @return the stringdatetime
     */
    public String getStringdatetime()
    {
        return stringdatetime;
    }
    /**
     * @param stringdatetime the stringdatetime to set
     */
    public void setStringdatetime(String stringdatetime)
    {
        this.stringdatetime = stringdatetime;
    }
}
